package com.jxcq.tensquare.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author CalvinXCui
 * @date 2019- 10- 18 16:42
 */
@Slf4j
@EnableConfigServer
@SpringBootApplication
public class ConfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class, args);
        log.info(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) + "Config服务启动完成并成功!!!!!!!!");
    }
}
